ALTER TABLE dbo.InOutProdPaper
ADD CONSTRAINT FK_InOutProdPaper_User
FOREIGN KEY (CreatedBy)
REFERENCES [RetailManagement].[dbo].[User](Id)

ALTER TABLE InOutProdPaper
DROP CONSTRAINT  FK_InOutProdPaper_Employee